package com.hzdl.hotel.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.math.BigDecimal;
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class RoomOrder {

    private Integer hId;
    private String hotelType;
    private BigDecimal price;
    private String hotelImg;
    private Integer ifRenting;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GTM+8")
    private String createtime;

    private String desc;

    public Integer gethId() {
        return hId;
    }

    public String getHotelType() {
        return hotelType;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public String getHotelImg() {
        return hotelImg;
    }

    public Integer getIfRenting() {
        return ifRenting;
    }

    public String getCreatetime() {
        return createtime;
    }

    public String getDesc() {
        return desc;
    }
}
